function login(url) {

    var form1 = document.forms[0];
    form1.action = url;
    form1.submit();

}
